package com.ruoyi.business.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.business.request.TaskPointReq;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author liutao
 * @version 1.0
 * @description: TODO
 * @date 2024/3/17 22:47
 */
@Data
public class TaskRes {
    private Long id;
    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 调研水体名称
     */
    private String surveyWaterBodyName;

    /**
     * 业务类别
     */
    private String businessType;

    /**
     * 任务描述
     */
    private String taskRemark;

    private Long researchPlanId;

    /**
     * 数据来源（0-后台；1-app）
     */
    private Integer source;

    @NotNull(message = "分配用户不能为空")
    private Long[] userIds;

    @NotNull(message = "待调研点位不能为空")
    private List<TaskPointReq> pointList;
}
